From ae549c6ce408e7c8455e9a8a9a065586f97ddb0b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 28 Sep 2017 18:41:39 -0400 Subject: [PATCH] recorder: Put text color in the right row It ended up in the wrong place by accident. --- gtk/inspector/recorder.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gtk/inspector/recorder.c b/gtk/inspector/recorder.c index bbbbc699f5..0da4f41abe 100644 --- a/gtk/inspector/recorder.c +++ b/gtk/inspector/recorder.c @@ -304,18 +304,16 @@ populate_render_node_properties (GtkListStore *store, GString *s; int i; - surface = get_color_surface (color); desc = pango_font_describe (font); text = pango_font_description_to_string (desc); gtk_list_store_insert_with_values (store, NULL, -1, 0, "Font", 1, text, - 2, TRUE, - 3, surface, + 2, FALSE, + 3, NULL, -1); g_free (text); pango_font_description_free (desc); - cairo_surface_destroy (surface); s = g_string_sized_new (6 * glyphs->num_glyphs); for (i = 0; i < glyphs->num_glyphs; i++) @@ -337,14 +335,16 @@ populate_render_node_properties (GtkListStore *store, -1); g_free (text); + surface = get_color_surface (color); text = gdk_rgba_to_string (color); gtk_list_store_insert_with_values (store, NULL, -1, 0, "Color", 1, text, - 2, FALSE, - 3, NULL, + 2, TRUE, + 3, surface, -1); g_free (text); + cairo_surface_destroy (surface); } break; -- 2.30.2